package cn.dankal.flyaudio.contract;

import cn.dankal.basiclib.base.BasePresenter;
import cn.dankal.basiclib.base.BaseView;
import cn.dankal.basiclib.pojo.CommentsEntity;

/**
 * <pre>
 *     e-mail : junfeng.nie@duntech.com.cn
 *     time   : 28/7/2020
 *     desc   :
 *     version: cn.dankal.flyaudio.contract
 *     Copyright: Copyright（c）2018
 *     Company:
 * </pre>
 *
 * @author niejunfeng
 */
public interface CommentsDetailContract {
    interface Presenter extends BasePresenter<View> {
        void getEvaluate(String uuid);
        void like(String uuid);
        void unLike(String uuid);

        void subLike(String uuid);
        void subUnLike(String uuid);
        void sendMessage(String parentUuid, String content);
    }



    interface View extends BaseView {
        void evaluateSuccess(CommentsEntity commentsEntity);
        void likeSuccess();
        void unLikeSuccess();

        void subLikeSuccess();
        void subUnLikeSuccess();
        void sendSuccess();
    }
}
